﻿using Abp.AutoMapper;
using Mt.Site.Core.WorkFlows.Design.Entities;
using System;
using System.ComponentModel.DataAnnotations;

namespace Mt.Site.Application.WorkFlows.Dto
{
    [AutoMapTo(typeof(WorkFlowForm))]
    public class CreateFlowFromInput
    {
        public Guid WorkFlowId { get; set; }


        [StringLength(WorkFlowForm.MaxHtmlDataLength)]
        public string HtmlData { get; set; }


        [StringLength(WorkFlowForm.MaxExtensionDataLength)]
        public string ExtensionData { get; set; }

        public bool IsActive { get; set; } 
    }
}
